package action_行为型.mediator_pattern_中介模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/08/15:31
 * @Description:
 */
public class MediatorPatternDemo {
	public static void main(String[] args) {
		User zhangsan = new User("zhangsan");
		User lisi = new User("lisi");
		zhangsan.sendMessage(" hi lisi.");
		lisi.sendMessage("hello zhangsan");
	}
}
